﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="ChuKuDy.aspx.cs"
    Inherits="Catering.Catering_Page.JieGouJianKong.ChuKuDy" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../Scripts/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
    <form id="Form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server">
    </asp:ScriptManager>
    <div class="xxk_button1">
        <ul>
            <li id="li2_4" class="li_out"><a href="RichangJiankong.aspx">日常监控</a></li>
            <li id="li2_1" class="li_out"><a href="MonitorView.aspx">消耗分类汇总</a></li>
            <li id="li2_2" class="li_out"><a href="Xiaohao_cal.aspx">消耗计算表</a></li>
            <%if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Jiegoufenxi.aspx", "消耗动态监控查看")) {%>
            <li id="li2_3" class="li_out li_over"><a href="ChuKuDy.aspx">消耗动态监控</a></li>
            <%} %>
        </ul>
    </div>
    
            <div class="Center_Content" id="div2_3" style="display: block">
                <div class="div_0207" style="width:998px;">
                    <table width="100%" class="ckgl_table" style="height:35px;" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td width="8"></td>
                            <td width="75" align="right">选择月份：</td>
                            <td valign="middle" width="160"><asp:TextBox ID="TextBox1" Text="" runat="server" CssClass="input_bg" style="text-align:center; width:140px;"></asp:TextBox></td>
                            <td valign="middle" align="left" width="100">
                                <asp:LinkButton ID="lbtnSearch" runat="server" OnClick="lbtnSearch_Click">查　询</asp:LinkButton>
                            </td>
                            <td valign="middle" align="left"">
                                <asp:LinkButton ID="lbtnSaveAsExcel" runat="server" OnClick="lbtnSaveAsExcel_Click">导出Excel</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                        <dl style="height: 500px">
                            <table border="0" cellspacing="0" cellpadding="0" width="100%" class="table_ckdtkz">
                                <tr>
                                    <th style="width:10%;">序号</th>
                                    <th style="width:20%;">作业区</th>
                                    <th style="width:20%;">班组</th>
                                    <th style="width:20%;">出库状态</th>
                                    <th style="width:10%;">修改出库状态</th>
                                    <th style="width:20%;">出库时间</th>
                                </tr>
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate>
                                        <tr onmouseover="this.style.background='#E3F5FF'" onmouseout="this.style.background='#FFFFFF'">
                                            <td><asp:Label ID="Label1" runat="server" Text='<%# Eval("tempid") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label2" runat="server" Text='<%# Eval("GroupName") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label3" runat="server" Text='<%# Eval("ClassName") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label4" runat="server" Text='<%# GetStatus(Eval("OutState").ToString()) %>'></asp:Label></td>
                                            <td>
                                                <a href='ChuKuDy.aspx?ChangeID=<%# Eval("id") %>' onclick='javascript:return confirm("确认改变？")'>
                                                <img alt="" src="../../Images/file.gif" style="cursor: pointer;" /></a>
                                            </td>
                                            <td><asp:Label ID="Label5" runat="server" Text='<%# Eval("OutDate") %>'></asp:Label></td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr onmouseover="this.style.background='#E3F5FF'" onmouseout="this.style.background='#FFFFFF'">
                                            <td><asp:Label ID="Label1" runat="server" Text='<%# Eval("tempid") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label2" runat="server" Text='<%# Eval("GroupName") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label3" runat="server" Text='<%# Eval("ClassName") %>'></asp:Label></td>
                                            <td><asp:Label ID="Label8" runat="server" Text='<%# GetStatus(Eval("OutState").ToString()) %>'></asp:Label></td>
                                            <td><a href='ChuKuDy.aspx?ChangeID=<%# Eval("id") %>' onclick='javascript:return confirm("确认改变？")'><img alt="" src="../../Images/file.gif" style="cursor: pointer;" /></a></td>
                                            <td><asp:Label ID="Label5" runat="server" Text='<%# Eval("OutDate") %>'></asp:Label></td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                </asp:Repeater>
                            </table>
                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                <tr>
                                    <td height="35" valign="middle">
                                        <div class="paper_n">
                                            <ul>
                                                <li class="paper_H"><asp:HyperLink ID="InkFirst" runat="server">首页</asp:HyperLink></li>
                                                <li class="paper_U"><asp:HyperLink ID="InkPrev" runat="server">上一页</asp:HyperLink></li>
                                                <li class="paper_D"><asp:HyperLink ID="InkNext" runat="server">下一页</asp:HyperLink></li>
                                                <li class="paper_F"><asp:HyperLink ID="InkLast" runat="server">末页</asp:HyperLink></li>
                                            </ul>
                                        </div>
                                        <div class="paper_n2">
                                            <asp:Label ID="lblCurPage" runat="server"></asp:Label>
                                            <asp:Label ID="Label6" runat="server" Text="每页12条"></asp:Label>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </dl>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </div>
        
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
        InteractiveDeviceInfos="(集合)" ShowToolBar="False" Visible="False" WaitMessageFont-Names="Verdana"
        WaitMessageFont-Size="14pt">
        <LocalReport ReportPath="Catering_Page\JieGouJianKong\Report\ChuKuDy.rdlc">
        </LocalReport>
    </rsweb:ReportViewer>
    </form>
</body>
</html>
